package cn.tedu.custom.client;

import cn.tedu.luban.demo.cart.api.HelloService;

import java.io.IOException;

/**
 * 发起底层通信,调用对方功能的客户端方
 */
public class RpcClient {
    public static void main(String[] args) throws IOException {
        HelloService helloService=new RpcProxy();
        String result = helloService.sayHi("刘首付");
        System.out.println("结果:"+result);
    }
}
